/**
 * @filename:SysLog 2022年1月27日
 * @project Wonder wallet Framework  V1.0
 * Copyright(c) 2020 LuZhongren Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.FieldFill;


/**   
 * @Description:TODO(操作日志管理实体类)
 * 
 * @version: V1.0
 * @author: LuZhongren
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_log")
@ApiModel(value="log对象", description="操作日志管理表")
public class SysLog extends Model<SysLog> {

	private static final long serialVersionUID = 1643435165689L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
	private Integer id;
    
 	@TableField(value = "application_name")
	@ApiModelProperty(name = "application_name" , value = "应用名称")
	private String application_name;
    
 	@TableField(value = "username")
	@ApiModelProperty(name = "username" , value = "操作用户")
	private String username;
    
 	@TableField(value = "url")
	@ApiModelProperty(name = "url" , value = "请求url")
	private String url;
    
 	@TableField(value = "ip")
	@ApiModelProperty(name = "ip" , value = "ip")
	private String ip;
    
 	@TableField(value = "useragent")
	@ApiModelProperty(name = "useragent" , value = "useragent")
	private String useragent;
    
 	@TableField(value = "content")
	@ApiModelProperty(name = "content" , value = "请求内容")
	private String content;
    
 	@TableField(value = "errmsg")
	@ApiModelProperty(name = "errmsg" , value = "异常信息")
	private String errmsg;
    
 	@TableField(value = "create_time")
	@ApiModelProperty(name = "create_time" , value = "创建时间")
	private Integer create_time;
    
 	@TableField(value = "type")
	@ApiModelProperty(name = "type" , value = "类型")
	private Integer type;
    
 	@TableField(value = "times")
	@ApiModelProperty(name = "times" , value = "日期")
	private Integer times;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
}
